var express = require('express')
var Router = express.Router()


var OperationOfDatabase=require('../databaseManage/OperationOfDatabase')
var db=new OperationOfDatabase();

 
Router.get('/', function (req, res) {
   //var data=JSON.parse(req.query[0])
   //console.log(req.body);
   var post_title=req.body.post_title;
   db.getPostDetailByPostTitle(post_title,res);
   //res.send('<h1>服务器端响应了login功能</h1>')
})
module.exports = Router;